package com.qf.serviceimpl;

import com.qf.dao.UserDao;
import com.qf.entity.User;
import com.qf.service.Service;

import java.util.List;

/**
 * @author Ypl
 * @version V1.0
 * @Project September-mavens
 * @Package com.qf.serviceimpl
 * @Description:
 * @Date 2022/9/28 10:28
 */
@SuppressWarnings("all")
public class ServiceImpl implements Service  {

    UserDao dao;

    public void setDao(UserDao dao) {
        this.dao = dao;
    }

    @Override
    public List<User> findAll() {
        return dao.selectAll();
    }
}
